package cn.scw.project.separate.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class SaUserImg implements Serializable {

    private static final long serialVersionUID = -4534130884143694693L;

    private Long id;

    private Long userId;

    private String fileCode;

    private String fileUrl;

    private String fileInfo;

    private FileInfo fileInfos;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    private Integer isDeleted;

    @Data
    @EqualsAndHashCode(callSuper = false)
    public static class FileInfo implements Serializable {

        private static final long serialVersionUID = 3070879245724472261L;

        //税务登记证
        private String taxRegistLicensePic;

        //法人身份证正面 企业资质商户必传
        private String legalPersonidPositivePic;

        //法人身份证反面 企业资质商户必传
        private String legalPersonidOppositePic;

        //开户许可证 对公结算必传
        private String openingAccountLicensePic;

        //	银行卡正面 对私结算必传
        private String bankCardPositivePic;

        //对私结算必传
        private String bankCardOppositePic;

        // 商户协议照片
        private String merchantAgreementPic;

        //门头照片
        private String storePic;

        // 真实商户内景图片
        private String insideScenePic;

        //经营场所-含收银台
        private String businessPlacePic;

        //营业执照 企业资质商户必传
        private String licensePic;

        //        组织机构代码证
        private String orgCodePic;

        //        手持身份证照片
        private String handIdcardPic;

        //        租赁协议三(签章页)
        private String leaseAgreementThreePic;

        //        租赁协议二(面积、有效期页)
        private String leaseAgreementTwoPic;

        //        租赁协议一(封面)
        private String leaseAgreementOnePic;

        //        其他资料照片1
        private String otherMaterialPictureOne;

        //        非法人授权结算函 非法人计算必填
        private String otherMaterialPictureOn;

        //        其他资料照片2
        private String otherMaterialPictureTwo;

        //        其他资料照3
        private String otherMaterialPictureThree;

        //        其他资料照片4
        private String otherMaterialPictureFour;

        //        其他资料照5
        private String otherMaterialPictureFive;

        //        代理人签名
        private String agentPersonSignature;

        //        确认人签名
        private String confirmPersonSignature;

        //        非法人结算授权函 非法人对私结算，即结算账户类型为对私结算，且结算人身份证号不法人身份证号不一致时必传
        private String letterOfAuthPic;

        //        统一结算无营业执照说明 个人资质的连锁分店如果统一结算，需上传总店对该店情况说明，证明连锁关系
        private String unionSettleWithoutLicense;
    }
}
